package com.zhht.htzx.ui;

import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;

import com.zhht.htzx.R;

/**
 * 订单功能测试Activity
 */
public class OrderTestActivity extends AppCompatActivity {
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_order_test);
        
        Button btnOpenOrders = findViewById(R.id.btn_open_orders);
        Button btnScanQRCode = findViewById(R.id.btn_scan_qr_code);
        
        btnOpenOrders.setOnClickListener(v -> {
            Intent intent = new Intent(this, OrderListActivity.class);
            startActivity(intent);
        });
        
        btnScanQRCode.setOnClickListener(v -> {
            Intent intent = new Intent(this, QRCodeScannerActivity.class);
            startActivity(intent);
        });
    }
} 